home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 123 / CD Gamer Issue 123 (June 2003) (Disc 1).ISO / Games / Dev_Demo_EU / data1.cab / App_Executables / System / DInventory.u / ScriptText43.TextBuffer < prev    next >
Unknown  |  2003-02-28  |  2.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 5b 28 2f 2f 2f 2f 2f 2f |........|[(//////|
|00000010| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000020| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000030| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000040| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000050| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 0d 0a 2f 2f 20 20 20 |////////|/..// |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000a0| 20 20 20 20 20 20 20 20 | 2f 2f 0d 0a 2f 2f 20 24 | |//..// $|
|000000b0| 57 6f 72 6b 66 69 6c 65 | 3a 3a 20 44 42 6f 6c 74 |Workfile|:: DBolt|
|000000c0| 61 2e 75 63 20 20 20 20 | 20 20 20 20 20 20 20 20 |a.uc | |
|000000d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000f0| 20 20 20 20 20 20 20 20 | 24 2f 2f 0d 0a 2f 2f 20 | |$//..// |
|00000100| 24 52 65 76 69 73 69 6f | 6e 3a 3a 20 34 32 20 20 |$Revisio|n:: 42 |
|00000110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000140| 20 20 20 20 20 20 20 20 | 20 24 2f 2f 0d 0a 2f 2f | | $//..//|
|00000150| 20 20 20 20 20 24 44 61 | 74 65 3a 3a 20 32 2f 31 | $Da|te:: 2/1|
|00000160| 36 2f 30 33 20 35 3a 33 | 38 70 20 20 20 20 20 20 |6/03 5:3|8p |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000190| 20 20 20 20 20 20 20 20 | 20 20 24 2f 2f 0d 0a 2f | | $//../|
|000001a0| 2f 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |/ | |
|000001b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 2f 2f 0d 0a | | //..|
|000001f0| 2f 2f 20 28 63 29 20 32 | 30 30 30 2d 32 30 30 31 |// (c) 2|000-2001|
|00000200| 20 44 69 67 69 74 61 6c | 6f 20 53 74 75 64 69 6f | Digital|o Studio|
|00000210| 73 2c 20 49 6e 63 2e 20 | 20 20 20 20 20 20 20 20 |s, Inc. | |
|00000220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 0d | | //.|
|00000240| 0a 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |.///////|////////|
|00000250| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000260| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000270| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000280| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000290| 0d 0a 63 6c 61 73 73 20 | 44 42 6f 6c 74 61 20 65 |..class |DBolta e|
|000002a0| 78 74 65 6e 64 73 20 44 | 57 65 61 70 6f 6e 3b 0d |xtends D|Weapon;.|
|000002b0| 0a 0d 0a 76 61 72 20 61 | 72 72 61 79 3c 44 42 6f |...var a|rray<DBo|
|000002c0| 6c 74 61 50 72 6f 6a 3e | 20 50 72 6f 6a 65 63 74 |ltaProj>| Project|
|000002d0| 69 6c 65 73 3b 0d 0a 76 | 61 72 20 69 6e 74 20 50 |iles;..v|ar int P|
|000002e0| 72 6f 6a 49 64 78 3b 0d | 0a 0d 0a 66 75 6e 63 74 |rojIdx;.|...funct|
|000002f0| 69 6f 6e 20 4f 74 68 65 | 72 46 69 72 65 28 29 0d |ion Othe|rFire().|
|00000300| 0a 7b 0d 0a 2f 2f 09 6c | 6f 67 28 20 22 41 74 74 |.{..//.l|og( "Att|
|00000310| 65 6d 70 69 6e 67 20 74 | 6f 20 62 6c 6f 77 20 75 |emping t|o blow u|
|00000320| 70 20 74 68 65 20 70 72 | 6f 6a 65 63 74 69 6c 65 |p the pr|ojectile|
|00000330| 73 22 20 29 3b 0d 0a 09 | 44 65 74 6f 6e 61 74 65 |s" );...|Detonate|
|00000340| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |();..}..|..functi|
|00000350| 6f 6e 20 44 65 74 6f 6e | 61 74 65 28 29 0d 0a 7b |on Deton|ate()..{|
|00000360| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 69 3b 0d |...local| int i;.|
|00000370| 0a 0d 0a 09 66 6f 72 28 | 20 69 3d 30 3b 20 69 20 |....for(| i=0; i |
|00000380| 3c 20 50 72 6f 6a 65 63 | 74 69 6c 65 73 2e 4c 65 |< Projec|tiles.Le|
|00000390| 6e 67 74 68 3b 20 69 2b | 2b 20 29 0d 0a 09 09 69 |ngth; i+|+ )....i|
|000003a0| 66 28 20 50 72 6f 6a 65 | 63 74 69 6c 65 73 5b 69 |f( Proje|ctiles[i|
|000003b0| 5d 3f 20 29 0d 0a 09 09 | 09 50 72 6f 6a 65 63 74 |]? )....|.Project|
|000003c0| 69 6c 65 73 5b 69 5d 2e | 45 78 70 6c 6f 64 65 28 |iles[i].|Explode(|
|000003d0| 29 3b 0d 0a 09 50 72 6f | 6a 65 63 74 69 6c 65 73 |);...Pro|jectiles|
|000003e0| 2e 4c 65 6e 67 74 68 20 | 3d 20 30 3b 0d 0a 7d 0d |.Length |= 0;..}.|
|000003f0| 0a 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 73 74 61 |...simul|ated sta|
|00000400| 74 65 20 50 75 74 44 6f | 77 6e 57 65 61 70 6f 6e |te PutDo|wnWeapon|
|00000410| 0d 0a 7b 0d 0a 09 73 69 | 6d 75 6c 61 74 65 64 20 |..{...si|mulated |
|00000420| 66 75 6e 63 74 69 6f 6e | 20 42 65 67 69 6e 53 74 |function| BeginSt|
|00000430| 61 74 65 28 29 0d 0a 09 | 7b 0d 0a 09 09 62 52 65 |ate()...|{....bRe|
|00000440| 71 75 65 73 74 50 75 74 | 64 6f 77 6e 20 3d 20 66 |questPut|down = f|
|00000450| 61 6c 73 65 3b 0d 0a 09 | 09 69 66 28 20 52 6f 6c |alse;...|.if( Rol|
|00000460| 65 20 3d 3d 20 52 4f 4c | 45 5f 41 75 74 68 6f 72 |e == ROL|E_Author|
|00000470| 69 74 79 20 29 0d 0a 09 | 09 09 44 65 74 6f 6e 61 |ity )...|..Detona|
|00000480| 74 65 28 29 3b 0d 0a 0d | 0a 09 09 53 75 70 65 72 |te();...|...Super|
|00000490| 2e 42 65 67 69 6e 53 74 | 61 74 65 28 29 3b 0d 0a |.BeginSt|ate();..|
|000004a0| 09 7d 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |.}..}...|.functio|
|000004b0| 6e 20 50 72 6f 6a 65 63 | 74 69 6c 65 20 50 72 6f |n Projec|tile Pro|
|000004c0| 6a 65 63 74 69 6c 65 46 | 69 72 65 28 20 63 6c 61 |jectileF|ire( cla|
|000004d0| 73 73 3c 50 72 6f 6a 65 | 63 74 69 6c 65 3e 20 50 |ss<Proje|ctile> P|
|000004e0| 72 6f 6a 43 6c 61 73 73 | 2c 20 66 6c 6f 61 74 20 |rojClass|, float |
|000004f0| 50 72 6f 6a 53 70 65 65 | 64 2c 20 62 6f 6f 6c 20 |ProjSpee|d, bool |
|00000500| 62 57 61 72 6e 20 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |bWarn ).|.{...loc|
|00000510| 61 6c 20 44 42 6f 6c 74 | 61 50 72 6f 6a 20 4e 65 |al DBolt|aProj Ne|
|00000520| 77 50 72 6f 6a 3b 0d 0a | 09 4d 61 6b 65 4e 6f 69 |wProj;..|.MakeNoi|
|00000530| 73 65 28 50 61 77 6e 4f | 77 6e 65 72 2e 53 6f 75 |se(PawnO|wner.Sou|
|00000540| 6e 64 44 61 6d 70 65 6e | 69 6e 67 29 3b 0d 0a 09 |ndDampen|ing);...|
|00000550| 50 75 6c 6c 56 69 65 77 | 28 29 3b 0d 0a 09 4e 65 |PullView|();...Ne|
|00000560| 77 50 72 6f 6a 20 3d 20 | 44 42 6f 6c 74 61 50 72 |wProj = |DBoltaPr|
|00000570| 6f 6a 28 53 70 61 77 6e | 28 20 50 72 6f 6a 43 6c |oj(Spawn|( ProjCl|
|00000580| 61 73 73 2c 20 4f 77 6e | 65 72 2c 2c 20 53 61 76 |ass, Own|er,, Sav|
|00000590| 65 64 53 74 61 72 74 54 | 72 61 63 65 20 2b 20 28 |edStartT|race + (|
|000005a0| 47 65 74 46 69 72 65 4d | 6f 64 65 28 29 2e 50 72 |GetFireM|ode().Pr|
|000005b0| 6f 6a 65 63 74 69 6c 65 | 4f 66 66 73 65 74 20 3e |ojectile|Offset >|
|000005c0| 3e 20 72 6f 74 61 74 6f | 72 28 53 61 76 65 64 45 |> rotato|r(SavedE|
|000005d0| 6e 64 54 72 61 63 65 20 | 2d 20 53 61 76 65 64 53 |ndTrace |- SavedS|
|000005e0| 74 61 72 74 54 72 61 63 | 65 29 29 2c 20 72 6f 74 |tartTrac|e)), rot|
|000005f0| 61 74 6f 72 28 53 61 76 | 65 64 45 6e 64 54 72 61 |ator(Sav|edEndTra|
|00000600| 63 65 20 2d 20 53 61 76 | 65 64 53 74 61 72 74 54 |ce - Sav|edStartT|
|00000610| 72 61 63 65 29 20 29 29 | 3b 0d 0a 0d 0a 09 50 72 |race) ))|;.....Pr|
|00000620| 6f 6a 65 63 74 69 6c 65 | 73 2e 49 6e 73 65 72 74 |ojectile|s.Insert|
|00000630| 28 20 30 2c 20 31 20 29 | 3b 0d 0a 09 50 72 6f 6a |( 0, 1 )|;...Proj|
|00000640| 65 63 74 69 6c 65 73 5b | 30 5d 20 3d 20 4e 65 77 |ectiles[|0] = New|
|00000650| 50 72 6f 6a 3b 0d 0a 09 | 69 66 28 20 50 72 6f 6a |Proj;...|if( Proj|
|00000660| 65 63 74 69 6c 65 73 2e | 4c 65 6e 67 74 68 20 3e |ectiles.|Length >|
|00000670| 20 33 20 26 26 20 50 72 | 6f 6a 65 63 74 69 6c 65 | 3 && Pr|ojectile|
|00000680| 73 5b 33 5d 3f 20 29 0d | 0a 09 09 50 72 6f 6a 65 |s[3]? ).|...Proje|
|00000690| 63 74 69 6c 65 73 5b 33 | 5d 2e 45 78 70 6c 6f 64 |ctiles[3|].Explod|
|000006a0| 65 28 29 3b 0d 0a 0d 0a | 09 50 72 6f 6a 65 63 74 |e();....|.Project|
|000006b0| 69 6c 65 73 2e 4c 65 6e | 67 74 68 20 3d 20 33 3b |iles.Len|gth = 3;|
|000006c0| 0d 0a 0d 0a 09 72 65 74 | 75 72 6e 20 4e 65 77 50 |.....ret|urn NewP|
|000006d0| 72 6f 6a 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2f 20 41 6c |roj;..}.|...// Al|
|000006e0| 6c 6f 77 20 74 68 69 73 | 20 77 65 61 70 6f 6e 20 |low this| weapon |
|000006f0| 74 6f 20 66 69 72 65 2f | 61 6c 74 66 69 72 65 20 |to fire/|altfire |
|00000700| 75 6e 64 65 72 77 61 74 | 65 72 0d 0a 73 69 6d 75 |underwat|er..simu|
|00000710| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 62 |lated fu|nction b|
|00000720| 6f 6f 6c 20 53 68 6f 75 | 6c 64 46 6f 72 63 65 44 |ool Shou|ldForceD|
|00000730| 72 79 46 69 72 65 28 29 | 0d 0a 7b 0d 0a 09 72 65 |ryFire()|..{...re|
|00000740| 74 75 72 6e 20 28 43 6f | 6e 74 72 6f 6c 6c 69 6e |turn (Co|ntrollin|
|00000750| 67 4d 61 63 68 69 6e 65 | 28 29 20 26 26 20 46 69 |gMachine|() && Fi|
|00000760| 72 65 4d 6f 64 65 73 2e | 4c 65 6e 67 74 68 20 3e |reModes.|Length >|
|00000770| 20 30 20 26 26 20 47 65 | 74 46 69 72 65 4d 6f 64 | 0 && Ge|tFireMod|
|00000780| 65 28 29 2e 46 69 72 65 | 54 79 70 65 20 21 3d 20 |e().Fire|Type != |
|00000790| 46 52 54 5f 4d 65 6c 65 | 65 20 26 26 20 28 43 75 |FRT_Mele|e && (Cu|
|000007a0| 72 72 65 6e 74 46 69 72 | 65 4d 6f 64 65 3d 3d 50 |rrentFir|eMode==P|
|000007b0| 52 49 46 49 52 45 26 26 | 52 6f 75 6e 64 73 4c 6f |RIFIRE&&|RoundsLo|
|000007c0| 61 64 65 64 20 3d 3d 20 | 30 29 20 26 26 20 47 65 |aded == |0) && Ge|
|000007d0| 74 46 69 72 65 4d 6f 64 | 65 28 29 2e 46 69 72 65 |tFireMod|e().Fire|
|000007e0| 54 79 70 65 20 21 3d 20 | 46 52 54 5f 43 68 61 72 |Type != |FRT_Char|
|000007f0| 67 65 29 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2f 20 41 6c |ge);..}.|...// Al|
|00000800| 6c 6f 77 20 74 68 69 73 | 20 77 65 61 70 6f 6e 20 |low this| weapon |
|00000810| 74 6f 20 66 69 72 65 2f | 61 6c 74 66 69 72 65 20 |to fire/|altfire |
|00000820| 75 6e 64 65 72 77 61 74 | 65 72 0d 0a 73 69 6d 75 |underwat|er..simu|
|00000830| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 62 |lated fu|nction b|
|00000840| 6f 6f 6c 20 43 61 6e 41 | 74 74 65 6d 70 74 46 69 |ool CanA|ttemptFi|
|00000850| 72 65 28 29 0d 0a 7b 0d | 0a 09 72 65 74 75 72 6e |re()..{.|..return|
|00000860| 20 21 43 6f 6e 74 72 6f | 6c 6c 69 6e 67 4d 61 63 | !Contro|llingMac|
|00000870| 68 69 6e 65 28 29 20 7c | 7c 20 21 50 61 77 6e 4f |hine() ||| !PawnO|
|00000880| 77 6e 65 72 2e 49 73 41 | 72 63 61 64 65 4d 6f 64 |wner.IsA|rcadeMod|
|00000890| 65 28 29 20 7c 7c 20 21 | 53 68 6f 75 6c 64 46 6f |e() || !|ShouldFo|
|000008a0| 72 63 65 44 72 79 46 69 | 72 65 28 29 3b 0d 0a 7d |rceDryFi|re();..}|
|000008b0| 0d 0a 0d 0a 2f 2f 20 41 | 6c 6c 6f 77 73 20 70 72 |....// A|llows pr|
|000008c0| 6f 6a 65 63 74 69 6c 65 | 20 77 65 61 70 6f 6e 20 |ojectile| weapon |
|000008d0| 74 6f 20 64 72 79 20 66 | 69 72 65 0d 0a 73 69 6d |to dry f|ire..sim|
|000008e0| 75 6c 61 74 65 64 20 66 | 75 6e 63 74 69 6f 6e 20 |ulated f|unction |
|000008f0| 62 6f 6f 6c 20 53 68 6f | 75 6c 64 46 6f 72 63 65 |bool Sho|uldForce|
|00000900| 52 65 6c 6f 61 64 28 29 | 0d 0a 7b 0d 0a 09 69 66 |Reload()|..{...if|
|00000910| 28 20 21 43 6f 6e 74 72 | 6f 6c 6c 69 6e 67 4d 61 |( !Contr|ollingMa|
|00000920| 63 68 69 6e 65 28 29 20 | 29 0d 0a 09 09 72 65 74 |chine() |)....ret|
|00000930| 75 72 6e 20 46 41 4c 53 | 45 3b 0d 0a 0d 0a 09 69 |urn FALS|E;.....i|
|00000940| 66 20 28 20 4f 77 6e 65 | 72 49 73 48 75 6d 61 6e |f ( Owne|rIsHuman|
|00000950| 28 29 20 26 26 20 21 50 | 6c 61 79 65 72 50 61 77 |() && !P|layerPaw|
|00000960| 6e 28 4f 77 6e 65 72 29 | 2e 49 73 41 72 63 61 64 |n(Owner)|.IsArcad|
|00000970| 65 4d 6f 64 65 28 29 20 | 26 26 20 47 65 74 46 69 |eMode() |&& GetFi|
|00000980| 72 65 4d 6f 64 65 28 29 | 2e 46 69 72 65 54 79 70 |reMode()|.FireTyp|
|00000990| 65 20 21 3d 20 46 52 54 | 5f 43 68 61 72 67 65 20 |e != FRT|_Charge |
|000009a0| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 46 41 4c 53 |)....ret|urn FALS|
|000009b0| 45 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 47 65 74 41 |E;.....i|f ( GetA|
|000009c0| 6d 6d 6f 43 6f 75 6e 74 | 28 29 20 3c 3d 20 30 20 |mmoCount|() <= 0 |
|000009d0| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 46 41 4c 53 |)....ret|urn FALS|
|000009e0| 45 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 52 6f 75 6e |E;.....i|f ( Roun|
|000009f0| 64 73 4c 6f 61 64 65 64 | 3f 20 29 0d 0a 09 09 72 |dsLoaded|? )....r|
|00000a00| 65 74 75 72 6e 20 46 41 | 4c 53 45 3b 0d 0a 0d 0a |eturn FA|LSE;....|
|00000a10| 09 72 65 74 75 72 6e 20 | 54 52 55 45 3b 0d 0a 7d |.return |TRUE;..}|
|00000a20| 0d 0a 0d 0a 00 | |..... | |
+--------+-------------------------+-------------------------+--------+--------+